# -*- coding: utf-8 -*-
"""
-------------------------------------------------
Project Name: luffcity study project
File Name: setting.py
Author: kij
Create Date: 2021/3/2
-------------------------------------------------
"""

import os

BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))

HOST = "127.0.0.1"  # 服务器ip地址
PORT = 9998  # 服务器端口号
SUCCESS = 200  # 成功
ERROR = 400  # 失败
USER_HOME_DIR = os.path.join(BASE_DIR, "web","home")  # 用户加目录
ACCOUNT_FILE = "%s/web/files/accounts.ini" % BASE_DIR  # 用户名账号密码位置
MAX_SOCKET_LISTEN = 5
LOGON = 'logon'
CD = 'cd'
LS = 'ls'
DIR = 'dir'
GET = 'get'
PUT = 'put'
MKDIR = 'mkdir'
